<template>
  <view class="container">
    <!-- 绑定手机号 -->
    <view class="bindphone">
      <image src="../../static/icon/phone.png" mode="aspectFill" style="width: 30rpx; height: 40rpx; margin-right: 30rpx"></image>
      <input type="text" placeholder="请输入您的手机号" class="ipt" />
    </view>
    <!-- /验证码 -->
    <view class="bindphone">
      <image src="../../static/icon/phonecode.png" mode="aspectFill" style="width: 34rpx; height: 40rpx; margin-right: 30rpx"></image>
      <input type="text" placeholder="请输入短信验证码" />
      <view class="getcode" @click="getcode">获取验证码</view>
    </view>
    <view class="fnok">完成</view>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    // 点击获取验证码
    getcode() {
      console.log('获取验证码');
    }
  }
};
</script>

<style lang="scss" scoped>
.container {
  box-sizing: border-box;
  .fnok {
    position: fixed;
    bottom: 80rpx;
    box-sizing: border-box;
    width: 670rpx;
    height: 90rpx;
    margin: 0 40rpx;
    text-align: center;
    line-height: 90rpx;
    font-size: 28rpx;
    font-family: PingFang SC, PingFang SC;
    font-weight: 500;
    color: #ffffff;
    background: #3553e8;
    border-radius: 100rpx 100rpx 100rpx 100rpx;
  }
  .bindphone {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 670rpx;
    height: 100rpx;
    padding: 30rpx;
    background: #fff;
    margin: 0 40rpx;
    margin-bottom: 30rpx;
    border-radius: 20rpx 20rpx 20rpx 20rpx;
    border: 2rpx solid #f8f8f8;
    .ipt {
      flex: 1;
    }
    .getcode {
      font-size: 28rpx;
      font-family: PingFang SC, PingFang SC;
      font-weight: bold;
      color: #3553e8;
      margin-left: 30rpx;
    }
  }
}
</style>
